#include "dialoginformation.h"
#include "ui_dialoginformation.h"

DialogInformation::DialogInformation(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DialogInformation)
{
    ui->setupUi(this);

#if INDOOREMBED
    setWindowFlags(Qt::FramelessWindowHint);//隐藏窗口标题栏
#endif

    //取消按键虚线框
    ui->pbn_home->setFocusPolicy(Qt::NoFocus);
    ui->pbn_back->setFocusPolicy(Qt::NoFocus);

    ui->pbn_home->setText("");
    ui->pbn_back->setText("");

    connect(ui->pbn_back, SIGNAL(clicked()), this, SLOT(close()));
}

DialogInformation::~DialogInformation()
{
    delete ui;
}
